Optimal. Leaf size=31 \[ \log \left (\frac {e x}{2}\right ) (a+b \log (e x-2))+b \text {Li}_2\left (1-\frac {e x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2394, 2315} \[ b \text {PolyLog}\left (2,1-\frac {e x}{2}\right )+\log \left (\frac {e x}{2}\right ) (a+b \log (e x-2)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2315
Rule 2394
Rubi steps
\begin {align*} \int \frac {a+b \log (-2+e x)}{x} \, dx &=\log \left (\frac {e x}{2}\right ) (a+b \log (-2+e x))-(b e) \int \frac {\log \left (\frac {e x}{2}\right )}{-2+e x} \, dx\\ &=\log \left (\frac {e x}{2}\right ) (a+b \log (-2+e x))+b \text {Li}_2\left (1-\frac {e x}{2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 34, normalized size = 1.10 \[ a \log (x)+b \text {Li}_2\left (\frac {1}{2} (2-e x)\right )+b \log \left (\frac {e x}{2}\right ) \log (e x-2) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.50, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b \log \left (e x - 2\right ) + a}{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {b \log \left (e x - 2\right ) + a}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 28, normalized size = 0.90 \[ b \ln \left (\frac {e x}{2}\right ) \ln \left (e x -2\right )+a \ln \left (e x \right )+b \dilog \left (\frac {e x}{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.83, size = 27, normalized size = 0.87 \[ {\left (\log \left (e x - 2\right ) \log \left (\frac {1}{2} \, e x\right ) + {\rm Li}_2\left (-\frac {1}{2} \, e x + 1\right )\right )} b + a \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.16, size = 25, normalized size = 0.81 \[ b\,{\mathrm {Li}}_{\mathrm {2}}\left (\frac {e\,x}{2}\right )+a\,\ln \relax (x)+b\,\ln \left (e\,x-2\right )\,\ln \left (\frac {e\,x}{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 4.89, size = 95, normalized size = 3.06 \[ a \log {\relax (x )} + b \left (\begin {cases} \log {\relax (2 )} \log {\relax (x )} + 3 i \pi \log {\relax (x )} - \operatorname {Li}_{2}\left (\frac {e x}{2}\right ) & \text {for}\: \left |{x}\right | < 1 \\- \log {\relax (2 )} \log {\left (\frac {1}{x} \right )} - 3 i \pi \log {\left (\frac {1}{x} \right )} - \operatorname {Li}_{2}\left (\frac {e x}{2}\right ) & \text {for}\: \frac {1}{\left |{x}\right |} < 1 \\- {G_{2, 2}^{2, 0}\left (\begin {matrix} & 1, 1 \\0, 0 & \end {matrix} \middle | {x} \right )} \log {\relax (2 )} - 3 i \pi {G_{2, 2}^{2, 0}\left (\begin {matrix} & 1, 1 \\0, 0 & \end {matrix} \middle | {x} \right )} + {G_{2, 2}^{0, 2}\left (\begin {matrix} 1, 1 & \\ & 0, 0 \end {matrix} \middle | {x} \right )} \log {\relax (2 )} + 3 i \pi {G_{2, 2}^{0, 2}\left (\begin {matrix} 1, 1 & \\ & 0, 0 \end {matrix} \middle | {x} \right )} - \operatorname {Li}_{2}\left (\frac {e x}{2}\right ) & \text {otherwise} \end {cases}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________